package com.itheima.imports.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@Import({
        Other1Config.class,
        Other2Config.class,
        MyImportSelector.class
})
public class MyConfig {
    @Bean
    public Object masterConfigObject(){
        return "我是主配置文件通过bean注入的对象";
    }
}
